<%@ page language="java"  pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">

        #tab-do{
            width: 700px;
            border: 1px solid black;
            border-collapse: collapse;
            margin: 100px auto;
        }

        #tab-do td,th{
            border: 1px solid black;
            padding: 10px;
            text-align: center;
        }
        .but-01{
            position: absolute;
            left: 50px;
            top: 65px;
        }
        .but-02{
            position: absolute;
            left: 100px;
            top: 65px;
        }
        .but-03{
            position: absolute;
            left: 150px;
            top: 65px;
        }
        .but-04{
            position: absolute;
            left: 200px;
            top: 65px;
        }
        .but-05{
            position: absolute;
            left: 250px;
            top: 65px;
        }

        .but-06{
            position: absolute;
            right: 50px;
            top: 65px;
        }
        .input-01{
            position: absolute;
            right: 110px;
            top: 65px;
        }

        #font-size{
            position: absolute;
            left: 50px;
            top: 20px;
        }

    </style>
</head>
<body>
<h4 id="font-size">医生类别管理</h4>
<button class="but-01"><a href="/insert">添加</a></button>
<button class="but-02">修改</button>
<button class="but-03">删除</button>
<button class="but-04">启用</button>
<button class="but-05">禁用</button>

<input type="text" class="input-01" />
<button class="but-06">查询</button>

<table id="tab-do">
    <tr>
        <th>序号</th>
        <th>类别名称</th>
        <th>创建时间</th>
        <th>创建人</th>
        <th>修改时间</th>
        <th>修改人</th>
        <th>序号状态</th>
    </tr>
    <c:forEach items="${doctorclasses}" var="doctorclass" varStatus="status">
    <tr>
        <td>
            <div class="row">
                <div class="col-lg-6">
                    <div class="input-group">
					      <span class="input-group-addon">
					        <input type="checkbox" aria-label="...">
					      </span>
                            ${status.index+1}          </td>
        <td>${doctorClass.docCategoryName}</td>
        <td>${doctorClass.creationTime}</td>
        <td>${doctorClass.founder}</td>
        <td>${doctorClass.modificationTime}</td>
        <td>${doctorClass.modifier}</td>
        <td>${doctorClass.categoryState}</td>
    </tr>
    </c:forEach >
<%--    <tr>--%>
<%--        <td>--%>
<%--            <div class="row">--%>
<%--                <div class="col-lg-6">--%>
<%--                    <div class="input-group">--%>
<%--					      <span class="input-group-addon">--%>
<%--					        <input type="checkbox" aria-label="...">--%>
<%--					      </span>--%>
<%--                            </td>--%>
<%--        <td></td>--%>
<%--        <td></td>--%>
<%--        <td></td>--%>
<%--        <td></td>--%>
<%--        <td></td>--%>
<%--    </tr>--%>
</table>
</body>
</html>